package com.liuxin.zhiyuan.shujuzhongxin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

// 启动类，扫描com.liuxin.zhiyuan包下的所有类，包括子包
@SpringBootApplication(scanBasePackages = "com.liuxin.zhiyuan")
// 扫描Mapper接口
@MapperScan("com.liuxin.zhiyuan.*.mapper")
// 开启定时任务
//@EnableScheduling
public class ZhiyuanShujuzhongxinApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZhiyuanShujuzhongxinApplication.class, args);
    }
}